package com.zzyy.dtx.order.service;

import com.zzyy.dtx.order.dto.OrderDTO;
import com.zzyy.dtx.order.entities.Order;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

/**
 * @auther zzyy
 * @create 2021-04-17 22:28
 */
public interface OrderService
{
    public int add(Order order);

    //2023.4.16，查找所有的订单信息
    public List<Order> findAll();
    //2023.4.16，按照订单号查找
    public Order findOrderNo(String orderNo);
}
